package com.demo.entity.Vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

//@HeadRowHeight(value = 24)   标题行高
//内容行高
@ContentRowHeight(value = 24)
@Data
public class PatientExportVo implements Serializable {

    @ApiModelProperty(value = "患者姓名")
    @ExcelProperty(value = "患者姓名")
    private String patientName;

    @ApiModelProperty(value = "性别")
    @ExcelProperty(value = "性别")
    private String gender;

    @ApiModelProperty(value = "出生日期")
    @ExcelProperty(value = "出生日期")
    @ColumnWidth(value = 18)
    private String patientBirthdate;

    @ApiModelProperty(value = "体重")
    @ExcelProperty(value = "体重")
    private BigDecimal patientWeight;

    @ApiModelProperty(value = "身高")
    @ExcelProperty(value = "身高")
    private BigDecimal patientHeight;

    @ApiModelProperty(value = "HIS系统病人编号")
    @ExcelProperty(value = "HIS系统编号")
    private Integer hisPatientId;

    @ApiModelProperty(value = "住院号")
    @ExcelProperty(value = "住院号")
    private String admissionId;

    @ApiModelProperty(value = "院区名称")
    @ExcelProperty(value = "院区名称")
    private String hospitalDisttrictName;

    @ApiModelProperty(value = "类型1内科2外科")
    @ExcelProperty(value = "类型")
    private Integer deptType;

    @ApiModelProperty(value = "所属科室")
    @ExcelProperty(value = "所属科室")
    private String deptName;

    @ApiModelProperty(value = "病区名称")
    @ExcelProperty(value = "病区名称")
    private String wardName;

    @ApiModelProperty(value = "床位名称")
    @ExcelProperty(value = "床位名称")
    private String bedName;

    @ApiModelProperty(value = "床位编号")
    @ExcelProperty(value = "床位编号")
    private String bedId;

    @ApiModelProperty(value = "医疗组长姓名")
    @ExcelProperty(value = "医疗组长")
    private String medicalLeaderName;

    @ApiModelProperty(value = "主管医生姓名")
    @ExcelProperty(value = "主管医生")
    private String doctorInChargeName;

    @ApiModelProperty(value = "护士长姓名")
    @ExcelProperty(value = "护士长")
    private String headNurseName;

    @ApiModelProperty(value = "主管护士姓名")
    @ExcelProperty(value = "主管护士")
    private String nurseInChargeName;

    @ApiModelProperty(value = "入院时间")
    @ExcelProperty(value = "入院时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ColumnWidth(value = 20)
    private Date admissionTime;

    @ApiModelProperty(value = "出院时间")
    @ExcelProperty(value = "出院时间")
    @ColumnWidth(value = 20)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dischargeTime;

    @ApiModelProperty(value = "状态")
    @ExcelProperty(value = "状态")
    private Integer status;



}
